package org.emp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.emp.pojo.dto.DeptDTO;

import org.emp.pojo.entity.Dept;

import java.util.List;

/**
 * 加油
 *
 * @author konglingfeng
 * @date 2025/8/11
 * @desc
 */
@Mapper
public interface DeptMapper {
    List<Dept> findAllDept();

    List<Dept> searchDeptByDeptNameAndCode(DeptDTO deptDTO);

    Boolean insertDept(DeptDTO deptDTO);
}
